package com.zycfc.zsf.boot.validation.annotation;

import java.lang.annotation.*;
import com.zycfc.zsf.boot.validation.validator.*;
import javax.validation.*;

@Target({ ElementType.METHOD, ElementType.FIELD, ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = { IdNumberValidator.class })
public @interface IdNumber {
    String message() default "{com.zsf.validator.constraints.idNumber.message}";
    
    Class<?>[] groups() default {};
    
    Class<? extends Payload>[] payload() default {};
    
    public @interface List {
        IdNumber[] value();
    }
}
